package com.student.dong.service.impl;

import com.student.dong.entity.AlgsLabReport;
import com.student.dong.mapper.AlgsEvaluateMapper;
import com.student.dong.mapper.AlgsLabReportMapper;
import com.student.dong.service.LabReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Program: animalSystem->LabReportServiceImpl
 * @Description:
 * @Author: donghang
 * @Date: 2023-03-21 16:34
 * @Version： 1.0
 **/
@Service
public class LabReportServiceImpl implements LabReportService {

    @Autowired
    private AlgsLabReportMapper labReportMapper;


    @Override
    public int deleteByPrimaryKey(Long id) {
        return labReportMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AlgsLabReport record) {
        return labReportMapper.insert(record);
    }

    @Override
    public int insertSelective(AlgsLabReport record) {
        return labReportMapper.insertSelective(record);
    }

    @Override
    public AlgsLabReport selectByPrimaryKey(Long id) {
        return labReportMapper.selectByPrimaryKey(id);
    }

    @Override
    public AlgsLabReport selKey(Long studentId, Long teacherId, Long curriculaVaribleId) {
        return labReportMapper.selKey(studentId, teacherId, curriculaVaribleId);
    }

    @Override
    public int updateByPrimaryKeySelective(AlgsLabReport record) {
        return labReportMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AlgsLabReport record) {
        return labReportMapper.updateByPrimaryKey(record);
    }
}
